package com.song.controller;

import com.song.service.impl.TeacherServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Klys
 * @Date 2023/6/5 11:18
 * @Description
 * @Version 1.0
 */
@RestController
@Slf4j
@RequestMapping("/teacher")
public class TeacherController {


    @Autowired
    private TeacherServiceImpl teacherService;

    @GetMapping("add")
    public String add() {
        return teacherService.add();
    }
}
